Skip to content

Fix flaky table aggregation partition IT#17653

Merged
JackieTien97 merged 1 commit into
masterfrom
fixIT0512
May 13, 2026
Merged

Fix flaky table aggregation partition IT#17653
JackieTien97 merged 1 commit into
masterfrom
fixIT0512

Conversation

@shuwenwei

@shuwenwei shuwenwei commented May 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Wait for both target time partitions to appear as tsfiles on every DataNode before the partition tests start.
  • Flush after the initial async IoTConsensus replication is observable on disk, reducing the shutdown race in this IT.

Root Cause

The test could shut down DataNodes before IoTConsensus async replication had reached the DataNodes that would be restarted. If shutdown interrupted syncLogEntries, one replica could recover without the expected data and queries routed to it could fail.

@shuwenwei shuwenwei marked this pull request as ready for review May 13, 2026 02:00
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented May 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.37%. Comparing base (e4fc758) to head (8314834).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17653      +/-   ##
============================================
+ Coverage     40.36%   40.37%   +0.01%     
- Complexity     2554     2574      +20     
============================================
  Files          5177     5178       +1     
  Lines        349162   349085      -77     
  Branches      44673    44654      -19     
============================================
+ Hits         140928   140934       +6     
+ Misses       208234   208151      -83     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JackieTien97 JackieTien97 merged commit 3a714e7 into master May 13, 2026
30 checks passed
@JackieTien97 JackieTien97 deleted the fixIT0512 branch May 13, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants